package cn.ac.iscas.dbo;

import java.util.ArrayList;

import cn.ac.iscas.dba.ItemDBA;

/**
 * @author Simon@itechs
 *
 */
public class ItemList {
	private ArrayList<Item> items = new ArrayList<Item>();
	
	public void addItem(Item item){
		items.add(item);
	}
	
	public boolean storeListIntoDB(){
		if (new ItemDBA().storeItemsDB(items)) return true;
		else return false;
	}
}
